PageFromID

Prototype:

function PageFromID(const ID: Integer): TWizardPage;

Description:

Given a page ID, returns a TWizardPage instance. Call this if, for example, you need to get at the surface of a page and only know its ID.

An exception will be raised if an invalid page ID is specified.

Example:
var
  Page: TWizardPage;
begin
  Page := PageFromID(wpWelcome);
  Page.Surface.Color := clBlue;
end;